package com.shop.mall.service;

import com.shop.mall.controller.vo.MallShoppingCartItemVO;
import com.shop.mall.entity.MallShoppingCartItem;

import java.util.List;

public interface MallShoppingCartService {

    /**
     * 保存商品至购物车中
     *
     * @param mallShoppingCartItem
     * @return
     */
    String saveMallCartItem(MallShoppingCartItem mallShoppingCartItem);

    /**
     * 修改购物车中的属性
     *
     * @param mallShoppingCartItem
     * @return
     */
    String updateMallCartItem(MallShoppingCartItem mallShoppingCartItem);

    
    MallShoppingCartItem getMallCartItemById(Long MallShoppingCartItemId);

    
    Boolean deleteById(Long MallShoppingCartItemId);

    
    List<MallShoppingCartItemVO> getMyShoppingCartItems(Long MallUserId);
}
